<?php 
include '../inc/reuse/dbconfig.php';
$sql = "SELECT * FROM fix_main_products_type" ;
$rsd = mysql_query($sql);
while($row = mysql_fetch_array($rsd)){
	echo "<tr>
        	<td>".$row['fix_main_products_type_id']."</td>
            <td>".$row['fix_main_products_type_name']."</td>
            <td align=\"center\"><a href=\"#\" onClick=\"goToEditMainCategory(".$row['fix_main_products_type_id'].",'".$row['fix_main_products_type_name']."')\"\"><img src=\"images/symbol/edit.png\" /></a></td>
            <td align=\"center\"><a href=\"#\" onClick=\"deleteMainCategory(".$row['fix_main_products_type_id'].",'".$row['fix_main_products_type_name']."')\" ><img src=\"images/symbol/delete.png\" /></a></td>			 
		  </tr>";
}
?>